package com.ww.springboot.boot.algorithm;

/**
 * todo
 *
 * @author wanwei
 * @since 2021-05-03 16:20
 */
public class Utils {

    public static void printfArray(int[] array) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < array.length; i++) {
            sb.append(array[i]).append(",");
        }
        System.out.println(sb.substring(0, sb.length() - 1));
    }
}
